package com.itheima.mapper.oms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.oms.OmsOrder;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OmsOrderMapper extends BaseMapper<OmsOrder> {
    //批量删除订单
    @Delete("delete from oms_order where id=#{id}")
    void deleteByIds(OmsOrder id);
}
